export default function batchListCol() {
  return [
    {
      prop: 'number',
      label: '周转码',
      noCheck: true,
      colConfig: {minWidth: 300, align: 'left', fixed: 'left'}
    },
    {
      prop: 'turnoverStatusLabel',
      label: '周转状态',
      filterAble: true,
      noCheck: true,
      searchConfig: {name: 'turnoverStatusId', type: 'select', dict: 'batchStatus', multiple: true},
      colConfig: {sortable: false, width: 95, comp: 'turnoverStatus', fixed: 'left'}
    },
    {
      prop: 'turnoverProcessStatusLabel',
      label: '周转进度',
      filterAble: true,
      noCheck: true,
      searchConfig: {
        name: 'turnoverProcessStatusId',
        type: 'select',
        selectList: this.partBatchProcessFilter,
        multiple: true
      },
      colConfig: {sortable: false, width: 95, comp: 'turnoverProgressStatus', fixed: 'left'}
    },
    {
      prop: 'createDate',
      label: '周转码创建时间',
      noCheck: true,
      noSearch: true,
      searchConfig: {name: 'createDate', type: 'date'},
      colConfig: {width: 160, format: 'YYYY-MM-DD hh:mm:ss'}
    },
    {
      prop: 'productionQuantity',
      label: '计划数量',
      noCheck: true,
      noSearch: true,
      colConfig: {width: 95}
    },
    {
      prop: 'planStartDate',
      label: '计划开始时间',
      noCheck: true,
      noSearch: true,
      searchConfig: {name: 'planStartDate', type: 'date'},
      colConfig: {width: 130, formatToDay: true}
    },
    {
      prop: 'planEndDate',
      label: '计划完成时间',
      noCheck: true,
      noSearch: true,
      searchConfig: {name: 'planEndDate', type: 'date'},
      colConfig: {width: 130, formatToDay: true}
    },
    {
      prop: 'practicalStartDate',
      label: '实际开始时间',
      noCheck: true,
      searchConfig: {name: 'practicalStartDate', type: 'date'},
      colConfig: {width: 160, format: 'YYYY-MM-DD hh:mm:ss'}
    },
    {
      prop: 'practicalEndDate',
      label: '实际完成时间',
      noCheck: true,
      searchConfig: {name: 'practicalEndDate', type: 'date'},
      colConfig: {width: 160, format: 'YYYY-MM-DD hh:mm:ss'}
    },
    {prop: 'currentWorkstageNames', label: '当前工序', noCheck: true, noSearch: true, colConfig: {width: 100, align: 'left'}},
    {
      prop: 'taskTypeLabel',
      label: '任务类型',
      noCheck: true,
      searchConfig: {type: 'select', dict: 'turnoverTaskType', selectList: this.abNormalTaskTypeFilter},
      colConfig: {width: 100, comp: 'taskType', align: 'left'}
    },
  ]
}
